package user;
import operation.*;
import book.Book;

public class Leader extends User{

    public Leader(String name, String num, String code) {

        super(name, num, code);
        super.operations = new IOperation[]{
                new Exit(),
                new PrintBook(),
                new FindBook(),
                new DelBook(),
                new AddBook(),
                new ChangeBook()
        };
    }
    public void menu() {
        System.out.println("0.退出");
        System.out.println("1.所有图书");
        System.out.println("2.查找图书");
        System.out.println("3.删除图书");
        System.out.println("4.添加图书");
        System.out.println("5.修改图书");
        System.out.println("请输入你的操作");
    }
}
